package com.daka.dao;


import com.daka.entity.MemberOrg;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "memberOrgDao")
@SQLMapper
public interface MemberOrgDao {
    int deleteByPrimaryKey(Integer id);

    int insert(MemberOrg record);

    int insertSelective(MemberOrg record);

    List<MemberOrg> checkLader(Integer memberId);

    MemberOrg selectByPrimaryKey(Integer id);

    List<MemberOrg> selectByStatement(MemberOrg record);

    int selectByStatementCount(MemberOrg record);

    int updateByPrimaryKeySelective(MemberOrg record);
}